package com.be.beadmin.project.dto.output;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;


@Data
@NoArgsConstructor
@AllArgsConstructor
@HeadFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
@ContentFontStyle(fontName = "Microsoft YaHei",fontHeightInPoints = 12)
public class BatchProductExcelEx {

    @ExcelProperty("项目名称")
    private String projectName;
    @ExcelProperty("项目编码")
    private String projectCode;
    @ExcelProperty("批次交货日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date batchDeliveryDate;
    @ExcelProperty("批次号")
    private String batchPlanCode;
    @ExcelProperty("柜体编码")
    private String productCode;
    @ExcelProperty("柜体描述")
    private String productDesc;
    @ExcelProperty("柜体类型")
    private String productType;
    @ExcelProperty("是否标准柜体")
    private BigDecimal isStandard;
    @ExcelProperty("技术人员")
    private String engineer;
    @ExcelProperty("审核状态")
    private BigDecimal reviewState;
    @ExcelProperty("状态")
    private Integer state;
    @ExcelProperty("BOM上传")
    private BigDecimal isBomUploaded;
    @ExcelProperty("图纸上传")
    private BigDecimal isDrawingUploaded;
    @ExcelProperty("工时设置")
    private BigDecimal isStdWorkHourUploaded;
    @ExcelProperty("工艺路径")
    private String bopCode;
    @ExcelProperty("分料开始日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date stageDosingStartTime;
    @ExcelProperty("设计计划开始")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date planDesignStartDate;
    @ExcelProperty("设计计划结束")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date planDesignEndDate;
    @ExcelProperty("实际计划开始")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date actualKickoffStartDate;

}
